package com.study.mapper;


import com.study.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {


    @Select("SELECT * FROM user2 WHERE name=#{param1} AND password=#{param2}")
    public User loginUser(String name, String password);

}
